<?php
define('IN_ECS', true);
require(dirname(__FILE__) . '/includes/init.php');
$authorization_code = $_REQUEST['auth_code'];
if($authorization_code)
{
	echo "<script>window.location.href='wxauthsave.php?authorization_code=".$authorization_code." '</script>";
}else
{
	echo "<script>alert('授权失败');window.location.href='wxauth.php'</script>";
}
?>

